<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});


//公司管理后端路由
Route::group(['prefix' => 'corporation'], function ($route) {

	// 查看签到
    $route->get('/check',function(){
    	return view('corporation.user.check');
    });

    // 审核消息
    $route->get('/review',function(){
    	return view('corporation.user.review');
    });

    // 实习生列表
    $route->get('/trainee',function(){
    	return view('corporation.user.trainee');
    });

    // 查看日志
    $route->get('/log',function(){
    	return view('corporation.user.log');
    });

    // 消息通知
    $route->get('/message', 'IndexController@message');

    // 设置
    $route->get('/setting',function(){
    	return view('corporation.user.setting');
    });

});
